
import unittest
from parameterized import parameterized


def my_sum(a,b):
    return a + b


def build_data():
    return [(1,1,2),(1,0,1),(0,0,0)]


class Testmy_sum(unittest.TestCase):

    @parameterized.expand(build_data())
    def test_03(self,x,y,expect):
        print(x,y)
        result = my_sum(x,y)
        self.assertEqual(result,expect)